package com.pureut.storage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.storage.domain.IncomingMaterialPrintingDetail;
import com.pureut.storage.dto.IncomingMaterialPrintingDetailDto;
import com.sale.common.mybatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 * 来料打印明细mapper
 * Author:C
 * Date:2022/12/27 11:57
 * @DESC
 */
@Mapper
public interface  IncomingMaterialPrintingDetailMapper extends BaseMapperPlus<IncomingMaterialPrintingDetailMapper, IncomingMaterialPrintingDetail, IncomingMaterialPrintingDetail> {

    /**
     * 采购打印明细列表
     */
    Page<IncomingMaterialPrintingDetailDto> getDetailList(@Param("page") Page<IncomingMaterialPrintingDetailDto> page, @Param("id") long id);


    List<IncomingMaterialPrintingDetailDto> getAllDetailList(Long id);

    /**
     * 委外打印明细列表
     */
    List<IncomingMaterialPrintingDetailDto> getSubcontractDetailList(long id);
}

